package com.example.workbench.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2024-08-03
 */
@TableName("db_task_card")
@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "DbTaskCard对象", description = "")
public class DbTaskCard extends BaseEntity {

    @JsonSerialize(using = ToStringSerializer.class)
    private Long lineId;

    private String cardName;

    private LocalDateTime cardTime;

    @ApiModelProperty("任务优先级")
    private Integer priority;

    @ApiModelProperty("卡片样式")
    private Integer styleType;

    private Integer sort;

}
